﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.SimpleFlow
{
    public class sfToDo : Entity
    {
        /// <summary>
        /// 待办对应的审批记录
        /// </summary>
        public virtual sfRecord Record { get; set; }

        /// <summary>
        /// 当前待办对应的步骤
        /// </summary>
        public virtual sfTypeStep Step { get; set; }

        /// <summary>
        /// 待办标题
        /// </summary>
        public virtual string Title { get; set; }

        /// <summary>
        /// 当前待办的用户列表
        /// </summary>
        public virtual IList<ywxt.t_sys_user> ToDoUsers { get; set; }

        /// <summary>
        /// 当前待办的邮件列表
        /// </summary>
        public virtual IList<ApprovalMail> ToDoMails { get; set; }

        public sfToDo()
        {
            ToDoUsers = new List<ywxt.t_sys_user>();
            ToDoMails = new List<ApprovalMail>();
        }
    }
}
